<?php

namespace Database\Seeders;

use Illuminate\Database\Seeder;
use App\Models\Driver;

class DriverSeeder extends Seeder
{
    /**
     * Run the database seeds.
     *
     * @return void
     */
    public function run()
    {
        $drivers = [
            [
                'name' => '张师傅',
                'car_type' => '奔驰E级',
                'license_plate' => '京A12345',
                'phone' => '13800138001',
                'status' => 1
            ],
            [
                'name' => '李师傅',
                'car_type' => '宝马5系',
                'license_plate' => '京B67890',
                'phone' => '13800138002',
                'status' => 1
            ],
            [
                'name' => '王师傅',
                'car_type' => '奥迪A6',
                'license_plate' => '京C11111',
                'phone' => '13800138003',
                'status' => 1
            ],
            [
                'name' => '赵师傅',
                'car_type' => '别克GL8',
                'license_plate' => '京D22222',
                'phone' => '13800138004',
                'status' => 1
            ]
        ];

        foreach ($drivers as $driver) {
            Driver::create($driver);
        }
    }
}
